package com.mapper;

import com.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    void insertOrder(Order order);
    void deleteOrderById(Integer id);
    void updateOrder(Order order);
    Order selectOrderById(Integer id);
    Order selectOrderByName(String name);
    List<Order> selectOrder();
    List<Order> selectPageOrder(@Param("pageNum")Integer pageNum,
                              @Param("pageSize")Integer pageSize);
}
